<include file="common:__head__"/>
<div class="permissions-tabs">
    <a class="role tabs-bg" href="{:U('Payment/paylist')}">支付方式</a>
</div>
<form class="form-horizontal" id="handlepost" action="{:U('Payment/pay_install')}" method="post">
    <div class="permissions-content">
        <div class="permissions-le">
            <span class="add-admin"><a href="javascript:history.go(-1)"></a>{$payment.p_name}</span>
            <div class="add-admin-ipt">
                <span><i>*</i>支付名称</span>
                <input type="text" name="p_name" value="{$payment.p_name}" placeholder="支付名称" class="w200"/>
            </div>
            <div class="add-admin-ipt">
                <span><i>*</i>支付手续费</span>
                <input type="text" name="p_fee" value="{$payment.p_fee}" data-type="number" placeholder="支付手续费" class="w50"/>
            </div>

            {$payment_html}

            <div class="add-admin-ipt">
                <span><i>*</i>接口说明</span>
                <textarea name="p_desc" class="txt-area w300">{$payment.p_desc}</textarea>
            </div>
            <div class="add-admin-ipt">
                <span></span>
                <input type="hidden" name="p_id" value="{$payment_id}"/>
                <a class="btn-lg btn-blue" id="submitBtn">保存</a>
            </div>
        </div>
        <div class="permissions-ri">
            <a href="" class="permissions-help">帮助和服务</a>
        </div>
    </div>
</form>
</div>
<script type="text/javascript">
    $(function(){
        $('#submitBtn').click(function () {
            $("#handlepost").submit();
        });
    });
</script>
<include file="common:__foot__"/>